/***************************************************************************
 *  WlanSavvy
 *  Copyright  2007  Deepak Manoharan
 *  Email deepakm@gmail.com
 *  http://wlansavvy.googlecode.com/
 ****************************************************************************/

/*
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */
 
#ifndef __CONNECTION_PANEL_H
#define __CONNECTION_PANEL_H

#ifdef HAVE_CONFIG_H
#  include <config.h>
#endif

#include <gnome.h>
#include <glade/glade.h>


extern GladeXML *xml;

void init_connection_panel();
void set_lbl_interface(gchar * if_name);
void set_lbl_essid(gchar * essid);
void set_lbl_accesspoint(gchar * ap);
void set_lbl_ipadrmask(gchar * ipadrmask);
void set_lbl_frequency(gchar * frequency);
void set_lbl_bitrate(gchar * bitrate);
void set_lbl_txpower(gchar * txpower);
void set_lbl_encryption(gchar * encryption);
void set_lbl_mode(gchar * mode);
void set_lbl_sensitivity(gchar * mode);
void set_lbl_tx(gchar * tx);
void set_lbl_rx(gchar * rx);
void set_lbl_rxinvalid(gchar * lbl);
void set_lbl_beacon(gchar * lbl);
void set_lbl_invalidmisc(gchar * lbl);
void set_lbl_txretries(gchar * lbl);
void set_lbl_rts(gchar * lbl);
void set_lbl_frag(gchar * lbl);


void set_pgbar_link_text(gchar * linkval);
void set_pgbar_link_fraction(gdouble linkfraction);
void set_pgbar_signal_text(gchar * signaltext);
void set_pgbar_signal_fraction(gdouble signalval);
void set_pgbar_noise_text(gchar * noise);
void set_pgbar_noise_fraction(gdouble noise);
void set_pgbar_snr_text(gchar * snr);
void set_pgbar_snr_fraction(gdouble snr);

void insert_graph_points(gint signal, gint noise, gint snr);

#endif
